Skip to main content

Crate rustc_std_workspace_alloc

Crate rustc_std_workspace_alloc 

Source

Modules§

alloc
Memory allocation APIs
borrow
A module for working with borrowed data.
boxed
The Box<T> type for heap allocation.
collections
Collection types.
ffi
Utilities related to FFI bindings.
fmt
Utilities for formatting and printing Strings.
rc
Single-threaded reference-counting pointers. ‘Rc’ stands for ‘Reference Counted’.
slice
Utilities for the slice primitive type.
str
Utilities for the str primitive type.
string
A UTF-8–encoded, growable string.
sync
Thread-safe reference-counting pointers.
task
Types and Traits for working with asynchronous tasks.
vec
A contiguous growable array type with heap-allocated contents, written Vec<T>.
bstrExperimental
The ByteStr and ByteString types and trait implementations.
intrinsicsExperimental
Intrinsics that cannot be moved to core because they depend on alloc types.
ioExperimental
Traits, helpers, and type definitions for core I/O functionality.

Macros§

format
Creates a String using interpolation of runtime expressions.
vec
Creates a Vec containing the arguments.